package com.example.test.mapper;
 import com.example.test.bean.UserBean;
 import com.example.test.bean.UserImgBean;

 import java.util.List;

public interface UserMapper {
    UserBean getInfo(String name,String password);
    List<UserBean> getAllUser();
    int insertUser(UserBean userBean); //插入新的用户
    //删除用户
    int deleteUser(String id);
    //查询用户
     UserBean getUserById(String id);
     //修改用户
    int updateUser(UserBean userBean);
    List<UserBean> selectUser4Page();
    int insertUserImg(UserImgBean userImgBean);
    List<UserImgBean> getUserImgsById(String user_id);
}
